package com.ev.k3cloudBusiness.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ev.k3cloud.entity.K3CloudBaseNumberMetaEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.squareup.moshi.Json;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("盘盈单新增Vo")
public class K3StkStockCountGainInsertVo {
    @JSONField(ordinal = 1)
    @JsonIgnore
    @ApiModelProperty("物料盘点作业编码")
    private String  fstockCountInputNo="";
    @JSONField(ordinal = 2)
    @JsonIgnore
    @ApiModelProperty("单据类型")
    private K3CloudBaseNumberMetaEntity fbillTypeID=new K3CloudBaseNumberMetaEntity("PY01_SYS");
    @JSONField(ordinal = 3)
    @ApiModelProperty("库存组织")
    private K3CloudBaseNumberMetaEntity fstockOrgId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 4)
    @JsonIgnore
    @ApiModelProperty("货主类型")
    private String fownerTypeIdHead="BD_OwnerOrg";
    @JSONField(ordinal = 5)
    @ApiModelProperty("货主")
    private K3CloudBaseNumberMetaEntity fownerIdHead=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 6)
    @ApiModelProperty("单据日期")
    private String fdate;
    @JSONField(ordinal = 7)
    @ApiModelProperty("部门")
    private K3CloudBaseNumberMetaEntity fdeptId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 8)
    @JsonIgnore
    @ApiModelProperty("库存组")
    private K3CloudBaseNumberMetaEntity fstockerGroupId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 9)
    @ApiModelProperty("仓管员")
    private K3CloudBaseNumberMetaEntity fstockerId=new K3CloudBaseNumberMetaEntity("");
    @JSONField(ordinal = 10)
    @ApiModelProperty("备注")
    private String fnoteHead="";
    @JSONField(ordinal = 11)
    @ApiModelProperty("明细")
    private List<K3StkStockCountGainEntryInsertVo> fbillEntry=new ArrayList<>();

}
